<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Block模板</title>
    {# css #}
    {% block extcss %}
      
    {% endblock  %}
</head>
<body>
    <h1>Block模板</h1>
    <hr>

    {% block head %}
        <button>我是父模板的按钮</button>
    {% endblock head %}

    <hr>

    {% block content %}
      
    {% endblock content %}

    <hr>

    {% block foot %}
      
    {% endblock foot %}

    {# js #}
    {% block extjs %}
      
    {% endblock extjs %}
</body>
</html>